package org.wk.account.domain.bao;

import org.hibernate.annotations.GenericGenerator;
import org.wk.core.db.domain.BaseEntity;

import javax.persistence.*;
import java.math.BigDecimal;

/**
 * @ClassName SubAccountBaoAdminUpdateBill
 * @Description
 * @Author ZhaoPing'an
 * @Date 2018/8/13 15:31
 */
@Entity(name="org.wk.account.domain.bao.SubAccountBaoAdminUpdateBill")
@Table(name="sub_account_bao_admin_update_bill")
public class SubAccountBaoAdminUpdateBill extends BaseEntity {
    /**
     * @Fields serialVersionUID: long
     * @Desc TODO:
     */
    private static final long serialVersionUID = 1L;
    @Id
    @Column(name = "id", unique = true, nullable = false, length = 32)
    @GeneratedValue(generator="system-uuid")
    @GenericGenerator(name="system-uuid",strategy = "uuid")
    private String id;
    @Column
    private String userId;
    @Column
    private BigDecimal amount;

    /**
     * @return the id
     */

    public String getId() {
        return id;
    }


    /**
     * @param id 要设置的 id
     */

    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return the userId
     */

    public String getUserId() {
        return userId;
    }

    /**
     * @param userId 要设置的 userId
     */

    public void setUserId(String userId) {
        this.userId = userId;
    }


    public BigDecimal getAmount() {
        return amount;
    }


    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }
}
